// 面包屑
<template>
  <el-breadcrumb>
    <el-breadcrumb-item :to="{ path: '/index/homePage' }"
      >首页</el-breadcrumb-item
    >
    <el-breadcrumb-item v-if="showSreadcrumb">{{
      showSreadcrumb.lable
    }}</el-breadcrumb-item>
  </el-breadcrumb>
</template>

<script>
import { mapState } from "vuex";
export default {
  computed: {
    ...mapState("nav", {
      showSreadcrumb: (state) => state.showSreadcrumb,
    }),
  },
};
</script>

<style lang='less' scoped>
</style>